-- GENERATED SPELL FOR [Icetip Crawler] --


function spell0_29461(pUnit, Event) --@Icetip Poison,n/a--
pUnit:FullCastSpellOnTarget(57617,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29461', 640, 1)
end

function Sorts_29461(pUnit, Event)
local choix_sorts_29461 = math.random(0, 0)
if choix_sorts_29461 == 0 then
pUnit:RegisterEvent('spell0_29461', 1, 1)
end
end

function mob29461_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29461', math.random(1500, 3000), 1)
end

function mob29461_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29461_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29461_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29461, 1, 'mob29461_Action')
RegisterUnitEvent(29461, 2, 'mob29461_Leave')
RegisterUnitEvent(29461, 3, 'mob29461_Kill')
RegisterUnitEvent(29461, 4, 'mob29461_Die')
